package com.dearbinge.data.pojo.oldUser;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;

@Api("老商城用户表")
@TableName("ims_ewei_shop_member")
public class OldUser extends Model<OldUser> {

    /**
     * id
     */
    @ApiModelProperty("id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 手机号
     */
    @ApiModelProperty("手机号")
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 上级分销商ID
     */
    @ApiModelProperty("上级分销商ID")
    @TableField(value = "agentid")
    private String agentId;

    /**
     * 是否分销商
     */
    @ApiModelProperty("是否分销商")
    @TableField(value = "isagent")
    private String isAgent;

    /**
     * o2
     */
    @ApiModelProperty("o2")
    @TableField(value = "o2")
    private BigDecimal o2;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId;
    }

    public String getIsAgent() {
        return isAgent;
    }

    public void setIsAgent(String isAgent) {
        this.isAgent = isAgent;
    }

    public BigDecimal getO2() {
        return o2;
    }

    public void setO2(BigDecimal o2) {
        this.o2 = o2;
    }

    /**
     * 主键值
     */
    @Override
    protected Serializable pkVal() {
        return null;
    }
}
